<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

<form class="form-horizontal" action="login-num" method="post">
{{ csrf_field() }}
<div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <h1>赠送积分</h1>
    </div>
  </div>
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">积分</label>
    <div class="col-sm-10">
     
      <select class="form-control" name="number">
	  <option>--请选择积分--</option>
		  @for($i = 0;$i <= $number;$i++)
		  	<option value="{{$i}}">{{$i}}</option>
		  @endfor
	</select>
    </div>
  </div>
    <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">用户名</label>
    <div class="col-sm-10">
      <select class="form-control" name="name">
	  <option>--请选择--</option>
	  @foreach($arr as $key => $v)
	  <option value="{{$v->name}}">{{$v->name}}</option>
		@endforeach
	</select>
    </div>
  </div>
  <input type="hidden" name="id" value="{{$id}}">
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default">赠送积分</button>
    </div>
  </div>
</form>